const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
    publicPath: './',
    transpileDependencies: true,
    pages: {
        index: {
            entry: "src/main.js",
            title: '小边音乐'
        }
    },
    devServer: {
        proxy: {
            '/api': {
                target: 'http://localhost:3000',
                // pathRewrite: { '^/api': '' },
                ws: true,
                changeOrigin: true
            }
        }
    }
})